﻿@model IEnumerable<FuturePostViewModel>

@{
	Layout = null;
}

@if (Model.Any())
{
	<ul class="unstyled">
		@foreach (var futurePost in Model)
		{
			<li class="future-post">
				<div class="row">
					<div class="span2">
						@Html.Substring(futurePost.Title, 50)
					</div>
					<div class="span1 pull-right">
						@futurePost.PublishedAt.ToReadableOffset(DateTime.UtcNow)
					</div>
				</div>
			</li>
		}
	</ul>
}
else
{
	<p>No future posts.</p>
}